import postCssFlexBugsFix from 'postcss-flexbugs-fixes';
import postCssPressEnv from 'postcss-preset-env';
import postCssNormalize from 'postcss-normalize';

module.exports = {
    plugins: [
        require('autoprefixer'),// needs post-css 8+
        postCssFlexBugsFix(),
        postCssPressEnv({
            autoprefixer: {
                grid: true,
                flexbox: 'no-2009',
            },
            stage: 3
        }),
        postCssNormalize()
    ],
    ident: 'postcss'
}